package io.renren.modules.yckj.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 课题组管理关系表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2025-04-28
 */
@Data
@Schema(title =  "课题组管理关系表")
public class TeamRelationDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(title ="主键")
    private Long id;

    @Schema(title ="课题组id")
    private Long teamId;

    @Schema(title ="课题组名称")
    private String teamName;

    @Schema(title ="用户id")
    private Long userId;

    @Schema(title ="用户名称")
    private String username;

    @Schema(title ="是否创建者：0否，1是")
    private Integer isCreator;

    @Schema(title ="是否有审核：0无，1有")
    private Integer approve;

    @Schema(title ="查看权限，0自己，1所有")
    private Integer viewPower;

    @Schema(title ="使用金额权限：0无，1固定，2全部")
    private Integer amountPower;

    @Schema(title ="可使用限额")
    private BigDecimal debtLimit;

    @Schema(title ="可使用限额使用")
    private BigDecimal debtLimitUse;

    @Schema(title ="状态：0申请，1通过")
    private Integer status;

    @Schema(title ="创建时间")
    private Date createTime;

    @Schema(title ="更新时间")
    private Date updateTime;

    @Schema(title ="创建人头像名称")
    private String avatar;
}